@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

@font-face {
  font-family: "varsityregular";
  src: url("varsity_regular-webfont.woff2") format("woff2"),
    url("varsity_regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "vt323regular";
  src: url("vt323-regular-webfont.woff2") format("woff2"),
    url("vt323-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
}

body {
  background-color: #ff5151;
  position: relative;
  height: 100vh;
  width: 100%;
  font-family: "vt323regular", sans serif;
}

html,
body {
  overflow-x: hidden;
}

.div {
  background: url(house.gif) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: -4;
}

#profile-header {
  background: url(house.gif) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100vh;
  margin: 0;
  z-index: -4;
}

@keyframes fadeIMG {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.main-header {
  text-align: center;
}

.main-header img {
  margin-top: 5%;
  display: inline-block;
  width: 800px;
  animation-name: fadeIMG;
  animation-duration: 2s;
}

.enter-btn {
  text-align: center;
}

.enter-btn h2 {
  margin-top: 33%;
  display: inline-block;
  font-size: 40px;
  color: #ffffff;
  animation: blink 2s linear infinite;
}

.enter-btn a {
  text-decoration: none;
  color: #ffffff;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 1024px) and (max-height: 1366px) {
  .enter-btn h2 {
    margin-top: 90%;
    font-size: 50px;
  }
}

@media (max-width: 1280px) and (max-height: 950px) {
  .enter-btn h2 {
    margin-top: 50%;
  }
}

@media (max-width: 768px) and (max-height: 1024px) {
  .main-header img {
    width: 600px;
  }

  .enter-btn h2 {
    margin-top: 95%;
  }
}
@media (max-width: 414px) and (max-height: 896px) {
  .main-header img {
    width: 350px;
    margin-top: 20%;
  }

  .enter-btn h2 {
    font-size: 40px;
    margin-top: 130% !important;
  }
}

@media (max-width: 414px) and (max-height: 736px) {
  .enter-btn h2 {
    margin-top: 110% !important;
  }
}

@media (max-width: 320px) and (max-height: 568px) {
  .main-header img {
    width: 300px;
  }

  .enter-container {
    text-align: center;
  }

  .enter-btn h2 {
    font-size: 30px;
  }
}
